import axios from 'axios'
const BASE_URL ='http://39.103.151.139:8000'
const key = 'db774d5285ed8eb97c1d816f8e671c94'
var url = `https://restapi.amap.com/v3/ip?key=${key}`;
function Http(url){
  return axios({
    url:BASE_URL+url
  })
}
function getHttpCityList(){
  return Http('/city')
}
function getLocation(){
  return axios({
    url:url
  })
}
export {getHttpCityList,getLocation}